<?php


class Appcore_Model_Server_Db_Table_Pages extends Zend_Db_Table_Abstract
{
	//Storage-Table
	protected $_name 			= 	'base_pages';
	
	//Primary-Key(s)
	protected $_primary			=	'pid';
	
	//Relationen festlegen
	protected $_referenceMap 	= 	array(

			'Appcore_Model_Server_Db_Table_Urlalias'  => 	array(
				'columns'		=> 'pid',
				'refTableClass'	=> 'Appcore_Model_Server_Db_Table_Urlalias',
				'refColumns'	=> 'pid'
			),
			
			'Appcore_Model_Server_Db_Table_Meta'  => 	array(
				'columns'		=> 'pid',
				'refTableClass'	=> 'Appcore_Model_Server_Db_Table_Meta',
				'refColumns'	=> 'pid'
			),
			
			'Appcore_Model_Server_Db_Table_Elements'  => 	array(
				'columns'		=> 'pid',
				'refTableClass'	=> 'Appcore_Model_Server_Db_Table_Elements',
				'refColumns'	=> 'pid'
			),
			
	);
}